package Model;
/**
 * 
 * @author Allan Malka
 *
 */
public class Product 
{
	private String productID;
	private String name;
	private double purchasePrice;
	private double salesPrice; 
	private String countryOfOrigin;
	private String productType;
	private int stock;
	private int minStock;
	
	/**
	 * Builds a product.
	 * @param _name
	 * @param _pPrice
	 * @param _sPrice
	 * @param _country
	 * @param _stock
	 * @param _minStock
	 */
	public Product(String _prodID, String _name, double _pPrice, double _sPrice, String _country, String _prodType, int _stock, int _minStock)
	{
		productID = _prodID;
		name = _name;
		purchasePrice = _pPrice;
		salesPrice = _sPrice;
		countryOfOrigin = _country;
		productType = _prodType;
		stock = _stock;
		minStock = _minStock;
	}
	
	public Product()
	{
		
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	public double getSalesPrice() {
		return salesPrice;
	}
	public void setSalesPrice(double salesPrice) {
		this.salesPrice = salesPrice;
	}
	public String getCountryOfOrigin() {
		return countryOfOrigin;
	}
	public void setCountryOfOrigin(String countryOfOrigin) {
		this.countryOfOrigin = countryOfOrigin;
	}
	public int getMinStock() {
		return minStock;
	}
	public void setMinStock(int minStock) {
		this.minStock = minStock;
	}
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public String getProductID() {
		return productID;
	}
	public void setProductID(String productID) {
		this.productID = productID;
	}

	public String getProductType() {
		return productType;
	}

	public void setProductType(String productType) {
		this.productType = productType;
	}

}
